package com.zane.common.propertiees;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt.token")
public class JwtProperties {
    private String secret;          // 密钥
    private Long expire;            // 过期时间
    private Long refreshExpire;     // 刷新令牌过期时间
}
